import { createSlice } from "@reduxjs/toolkit";

const baseSlice = createSlice({
    name: 'base',
    initialState: {
        tk: null
    },
    reducers: {
        updateBase: (state,action)=>{
            return{
                ...state,
                tk: action.payload
            }
        }
    }
})

export const {updateBase} = baseSlice.actions;
export default baseSlice.reducer;